Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Functions
Accessing and Changing Control Settings and Data /


GetControlFeatures

NEW WITH THE APPEARANCE MANAGER

Returns the Appearance-compliant features a control supports.

pascal OSErr GetControlFeatures (
                     ControlHandle inControl, 
                     UInt32 *outFeatures);
inControl
On input, a handle to the control whose features you wish to determine.
outFeatures
On output, a pointer to a bit field specifying the features the control supports. For a list of the features a control may support, see "Specifying Which Appearance-Compliant Messages Are Supported".
function result
A result code; see "Result Codes". The result code errMsgNotSupported indicates that the control does not support Appearance-compliant features.
DISCUSSION
The GetControlFeatures function returns the features a control definition function supports, in response to a kControlMsgGetFeatures message.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998